﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <script src="Scripts/jquery-2.0.3.js"></script>
</head>
<body>
</body>
</html>

<script type="text/javascript">
    var x = 1;
    var fun = function () {
        var x = undefined;

        console.log(x);

        x = 2;

        console.log(x);
    }

    fun();
</script>
